<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/20 0020
 * Time: 17:41
 */

namespace App\Api\Controllers\V1;



use App\Api\Helper\ReturnMessage;
use App\Http\Validators\AuthorValidator;
use App\Models\api\Author;
use App\Models\cms\Course;
use App\Models\cms\CourseLists;
use App\Models\cms\CourseListsCategory;
use App\Services\VideoService;
use Illuminate\Http\Request;

class AuthorController
{
    /**
     * 获取讲师展示
     */
    public function authorHtml(Request $request){
        $input=AuthorValidator::authorHtml($request);
        $authorData=VideoService::authorinfo($input);
        return ReturnMessage::successData($authorData,'success');
    }
}